/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cms.dataaccess;

import cms.exceptions.HibernateAccessLayerException;
import dto.Conference;
import java.util.List;
import java.util.Date;

/**
 *
 * @author WU DAO BO
 */
public interface ConferenceDAO {
      
    public  void saveUpdateConfernce(String name,String eventDetail,String location,
               boolean callForPaper,Date submitDate,boolean notifyResults,double price)throws HibernateAccessLayerException;
    public  void saveUpdateConfernce(Conference conf)throws HibernateAccessLayerException;
     
    public void deleteConference(Conference conf)throws HibernateAccessLayerException;
    public List<Conference> getAllConference()throws HibernateAccessLayerException;
    
    public Conference getConferenceByName(String name)throws HibernateAccessLayerException;
    
    public List<Conference> getConfencesByItem(String item)throws HibernateAccessLayerException;
    public List<Conference> getConfencesByDate(Date startTime,Date endTime)throws HibernateAccessLayerException;
    public List<Conference> searchConferncesByEventDetail(String eventDetail)throws HibernateAccessLayerException;
    
    public List<Conference> searchConferncesByPrice(double minPrice,double maxPrice)throws HibernateAccessLayerException;   
    public List<Conference> findByCustomizeQuery(String queryString)throws HibernateAccessLayerException;

}
